import { createApp } from "vue";
import App from "./App.vue";
import i18n from "./common/i18n";

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import './assets/main.css';

const app = createApp(App);

app.use(i18n);
app.use(ElementPlus, { size: "small" });
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount("#app");
